package com.example.gulimall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.utils.PageUtils;
import com.example.gulimall.member.entity.MemberEntity;
import com.example.gulimall.member.vo.MemberUserLoginVo;
import com.example.gulimall.member.vo.MemberUserRegisterVo;
import com.example.gulimall.member.vo.SocialUserVo;

import java.util.Map;

/**
 * 会员
 *
 * @author gulin
 * @email gulinvip@gmail.com
 * @date 2021-05-28 23:25:17
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void register(MemberUserRegisterVo registerVo);

    MemberEntity login(MemberUserLoginVo loginVo);

    MemberEntity oauthLogin(SocialUserVo socialUser) throws Exception;
}

